﻿<%@ Page Language="C#" MasterPageFile="~/Site1.Master" AutoEventWireup="true" CodeBehind="i.aspx.cs" Inherits="map.member.i" Title="商品" %>

<%@ Register Assembly="RuleCode.Common" Namespace="RuleCode.Controls" TagPrefix="cc1" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">     
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
<center>
    <div class="MainDiv">    
        <div   class="headerdiv">
            &nbsp;&nbsp;&nbsp;
            <asp:HyperLink ID="HyperLink_login" runat="server" >登录</asp:HyperLink>
            <img src="/img/shuxian.gif" />&nbsp;
            <asp:HyperLink ID="HyperLink_logout" runat="server" NavigateUrl="/member/loginout.aspx" >注销</asp:HyperLink>
            <img src="/img/shuxian.gif" />&nbsp;
            <a title="藏宝网" id="content_member"  rel="DIV_member" href="#" target="_blank">会员中心</a> 
        </div>
        <div style=" width:950px;">
            <div class="poistion-content">
                <a target="_blank" style="color:Blue;" href="default.aspx">藏宝网首页</a> > <a target="_blank" id="currentShopAnchor" runat="server"></a> > <a id="currentItemAnchor" runat="server"></a>
            </div>
        </div>
        <div>
            <table class="bannertable"  border="0" cellpadding="0" cellspacing="0">
                <tr>
                    <td  >
                        <div  class="banner s_banner" style=" padding-left:0px;" id="BannerDiv" runat="server"> 
                            <div style=" padding-left:30px;padding-top:30px;">
                                <table>
                                    <tr>
                                        <td>
                                            <img id="LogoImage"  title ="点击查看店标大图"   runat="server" style="width: 70px; height: 70px;" class="magnify " />
                                        </td>
                                        <td style="vertical-align :top; ">
                                            <a id="ShopTitleAnchor" runat="server" target ="_blank" class="shoptitle"></a>
                                        </td>
                                    </tr>
                                </table>
                            </div>                             
                        </div>
                    </td>
                    <td  >
                        <div class="divbox "   >
                            <div class="divtitle">
                                <b>店铺公告</b>
                            </div>
                            <div class="divcontent ">
                                <div  class="board-content">
                                    <asp:Literal ID="IntroLiteral" runat="server" Text=""></asp:Literal>  &nbsp;
                                </div>                            
                            </div>
                            <div class="divbottom  " > &nbsp;
                            </div>
                        </div>                         
                    </td>
                </tr>
             </table>
        </div>  
            
        <table style="width: 100%;" border="0" cellpadding="0" cellspacing="0">
            <tr>
                <td style="width: 215px; vertical-align:top ;">                   
                    <div class="divbox"  >
                        <div class="divtitle">
                            <b  >基本信息</b>
                        </div>
                        <div class="divcontent">
                            <table width="100%"   class="shopInfoTable" >                                   
                                <tr>
                                    <td class="td_01">
                                        昵称：
                                    </td>
                                     <td style="  text-align:left; vertical-align:top;">
                                        <asp:Label ID="Label_nick" CssClass="InfoLable" runat="server" Text=""></asp:Label>
                                    </td>
                                </tr>
                                <tr>
                                    <td class="td_01">
                                        地区：
                                    </td>
                                     <td style="  text-align:left; vertical-align:top;">
                                        <asp:Label ID="Label_area" CssClass="InfoLable" runat="server" Text="位置"></asp:Label>
                                    </td>
                                </tr>
                                <tr>
                                    <td class="td_01">
                                        好评：
                                    </td>
                                     <td style="  text-align:left; vertical-align:top;">
                                        <asp:Label ID="Label_good" CssClass="InfoLable" runat="server" Text="0"></asp:Label>
                                    </td>
                                </tr>
                                <tr>
                                    <td class="td_01">
                                        差评：
                                    </td>
                                     <td style="  text-align:left; vertical-align:top;">
                                        <asp:Label ID="Label_bad" CssClass="InfoLable" runat="server" Text="0"></asp:Label>
                                    </td>
                                </tr>
                                <tr>
                                    <td class="td_01">
                                        客服1：
                                    </td>
                                     <td style="  text-align:left; vertical-align:top;">
                                        <asp:Literal ID="Literal_chat" runat="server"></asp:Literal>
                                    </td>
                                </tr>
                                <tr>
                                    <td class="td_01">
                                        客服2：
                                    </td>
                                     <td style="  text-align:left; vertical-align:top;">
                                        <asp:Literal ID="Literal_jjr" runat="server"></asp:Literal>
                                    </td>
                                </tr>      
                            </table>                        
                        </div>
                        <div class="divbottom">  &nbsp;
                        </div>
                    </div> 
                    <div class="divbox"  >
                        <div class="divtitle">
                            <b>店铺所有商品</b>
                        </div>
                        <div id="ajaxtree" class="divcontent" >
                            <asp:TreeView ID="TreeView1" runat="server" ShowLines="true" ShowExpandCollapse="true"
                                CssClass="ajaxtree" 
                                onselectednodechanged="TreeView1_SelectedNodeChanged"   >
                                <SelectedNodeStyle  BackColor="lightGray"/>
                            </asp:TreeView>
                        </div>
                        <div class="divbottom">  &nbsp;
                        </div>
                    </div>  <br />
                    
                </td>    
                <td  style="vertical-align:top; ">
                    <div class="divblock"  >
                        <div class="divblocktop">
                            <b >宝贝详情</b>
                        </div>
                        <div class="divblockcontent" >
                            <div style=" text-align:center ;">
                                <asp:Label ID="ItemTitleLabel" CssClass="itemname" runat="server" Text=""></asp:Label>
                            </div><hr />
                            <br />
                            <div  >
                                <table style="width: 100%">
                                    <tr>
                                        <td style=" text-align: center; vertical-align: top;">
                                            <img alt="宝贝图片" class="magnify" title="点击查看大图"  runat="server" id="ItemImage" style="width: 220px; height:220px;border:none"/>
                                        </td>
                                        <td style=" width:100px;">
                                            &nbsp;
                                        </td>
                                        <td style="vertical-align: top;">
                                            <table style=" width:100%;  border:solid 1px lightGray;">
                                                <tr>
                                                    <td class="td_1">
                                                        一口价：
                                                    </td>
                                                    <td class="td_2">
                                                        <strong style=" font-size:medium ;color:#FF6600; font-weight:blod;">                                                             
                                                            <asp:Label ID="Label_price" CssClass="priceLabel" runat="server" Text="0.00 元"></asp:Label>
                                                        </strong>
                                                    </td>
                                                </tr>
                                                <tr>
                                                    <td class="td_1">
                                                        货到付款：
                                                    </td>
                                                    <td class="td_2">
                                                        <asp:Label ID="Label_sh" runat="server" Text="0.00 元"></asp:Label>
                                                    </td>
                                                </tr>
                                                <tr>
                                                    <td class="td_1">
                                                        快递：
                                                    </td>
                                                    <td  class="td_2">
                                                        <asp:Label ID="Label_kd" runat="server" Text="0.00 元"></asp:Label>
                                                    </td>
                                                </tr>
                                                <tr>
                                                    <td class="td_1">
                                                        平邮：
                                                    </td>
                                                    <td  class="td_2">
                                                        <asp:Label ID="Label_py" runat="server" Text="0.00 元"></asp:Label>
                                                    </td>
                                                </tr>
                                                <tr>
                                                    <td class="td_1">
                                                        EMS：
                                                    </td>
                                                    <td  class="td_2">
                                                        <asp:Label ID="Label_ems" runat="server" Text="0.00 元"></asp:Label>
                                                    </td>
                                                </tr>
                                                <tr>
                                                    <td class="td_1">
                                                        消费者保障协议：
                                                    </td>
                                                    <td  class="td_2">
                                                        <asp:Literal ID="Literal_xfzbz" runat="server"></asp:Literal>
                                                    </td>
                                                </tr>  
                                                <tr>
                                                    <td class="td_1" style=" font-weight:bold ;">
                                                        订购：
                                                    </td >
                                                    <td  class="td_2">
                                                        &nbsp;
                                                    </td>
                                                </tr>
                                                <tr>
                                                    <td class="td_1">
                                                        数量：
                                                    </td>
                                                    <td  class="td_2">
                                                        <asp:TextBox ID="TextBox_Qty" runat="server" Width="120px">1</asp:TextBox>
                                                    </td>
                                                </tr>
                                                <tr>
                                                    <td class="td_1">
                                                        &nbsp;
                                                    </td>
                                                    <td   class="td_2">
                                                        <asp:Button ID="OrderButton" runat="server" Text="购买" CssClass="orderButton" OnClick="OrderButton_Click" />
                                                    </td>
                                                </tr>
                                                <tr>
                                                    <td class="td_1">
                                                        说明：
                                                    </td>
                                                    <td  class="td_2">
                                                        <span class="style6">
                                                            <asp:Label ID="Label_Item" runat="server" Text="欢迎购物。"></asp:Label>
                                                        </span>
                                                   </td>
                                                </tr>
                                            </table>
                                            
                                        </td>
                                    </tr>
                                </table>
                            </div>                              
                        </div>
                        <div class="divblockbottom"> &nbsp;
                        </div>
                    </div><br />
                    <div class="divblock"   >
                        <div class="divblocktop">
                            <b >宝贝描述</b> 
                        </div>
                        <div class="divblockcontent" >     
                            <div  style=" padding-left:10px;overflow:scroll ;">
                                <asp:Literal ID="DetailInfoLiteral" runat="server"></asp:Literal>                                
                            </div>   
                        </div>
                        <div class="divblockbottom"> &nbsp;
                        </div>
                    </div><br />
                </td>
            </tr>
        </table> 
        <br />   
        <hr />
        <div style=" text-align:left ; padding-left:120px; height:100px; padding-top:10px; vertical-align:middle ;">      
            藏宝网 版权所有 CangBaoWang.Net 
        </div>
       
    </div>
    
    <div id="DIV_member" style="position: absolute; visibility: hidden; border: 1px solid Gray;
        background-color: White; width: 65px; padding: 4px; z-index: 100;">
        <a href="/member/pinfo.aspx">个人信息</a><br />
        <a href="/member/pfriends.aspx">我的好友</a><br />
        <a href="/member/pshop.aspx">我的店铺</a><br />
        <a href="/member/pbbs.aspx">我的论坛</a><br />           
    </div>
    
    </center>
    <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js" type="text/javascript"></script>
    <script type="text/javascript" src="/js/jquery.magnifier.js"></script> 
    <script type="text/javascript" src="/js/cookie_js.js"></script> 
    <script type="text/javascript" src="/js/dropdowncontent.js"></script>   
    <script type="text/javascript">
        dropdowncontent.init("content_member", "left-bottom", 300, "mouseover")
         
        function dispinlist() {
            document.getElementById("divpicture").style.display = "none";
            document.getElementById("divlist").style.display = "block";
            document.getElementById("pictureDisplayAnchor").className = "";
            document.getElementById("listDisplayAnchor").className = "selectedDisplayMode";
            setCookie("list", "f980", "displaymode");
        }

        function dispinpic() {
            document.getElementById("divpicture").style.display = "block";
            document.getElementById("divlist").style.display = "none";
            document.getElementById("pictureDisplayAnchor").className = "selectedDisplayMode";
            document.getElementById("listDisplayAnchor").className = "";
            setCookie("pic", "f980", "displaymode");
        }

        function initialize(zlong, zlat) {
            if (GBrowserIsCompatible()) {
                var map = new GMap2(document.getElementById("map_canvas"));
                map.setCenter(new GLatLng(zlat, zlong), 14);
                var point = new GLatLng(zlat, zlong);
                map.addOverlay(new GMarker(point));
            }
        }
        function addEventHandler(oTarget, sEventType, fnHandler) {
            if (oTarget.addEventListener) {
                oTarget.addEventListener(sEventType, fnHandler, false);
            } else if (oTarget.attachEvent) {
                oTarget.attachEvent("on" + sEventType, fnHandler);
            } else {
                oTarget["on" + sEventType] = fnHandler;
            }
        }
        //删除事件链
        function removeEventHandler(oTarget, sEventType, fnHandler) {
            if (oTarget.removeEventListener) {
                oTarget.removeEventListener(sEventType, fnHandler, false);
            } else if (oTarget.detachEvent) {
                oTarget.detachEvent("on" + sEventType, fnHandler);
            } else {
                oTarget["on" + sEventType] = null;
            }
        }
           
        addEventHandler(document.getElementById("ctl00_ContentPlaceHolder1_TextBox_Qty"), "keydown", function(o) {
            o = o || window.event;
            if (o.keyCode == "13") {
                var orderbutton = document.getElementById("ctl00_ContentPlaceHolder1_OrderButton");
                if (!orderbutton.disabled) {     
                    orderbutton.click();
                } 
            }
        }); 
    </script>
    
    
</asp:Content>
